#ifndef __SCENEINBEDHAUT_H__
#define __SCENEINBEDHAUT_H__

#pragma once

class COgreEngine;

class CSceneInBedHaut : public CSceneBase
{
//Methods
public:
	CSceneInBedHaut(COgreEngine &Creator, const String & Name, const int pos);
	virtual ~CSceneInBedHaut(void);

	void Create(TCreatorEntities const &CreatorEntities, TCreatorNodes const &CreatorNodes, TCreatorLights const &CreatorLights, ENetConfig IsClient = e_NCNone, Vector3 &CameraStartPos = Vector3(200.0f, 150.0f, 200.0f));

	bool frameStarted(const FrameEvent& evt);

	void Attach(void);
	void addNamedShadows(Pass *pass, CompositorInstance *pCompositor, Camera *cam, String const &name);
	void addShadows(Entity *ent, CompositorInstance *pCompositor, Camera *cam, String const &name = "");
	void processEvents(void);

//Variables
public:
	ParticleSystem * m_pPluie;
	ParticleSystem * m_pPluieTop;
	Camera * m_ReflectCam;
	Entity * m_PlaneEnt;

	bool m_Play;
	Real m_CamFrame;
	Real m_LastTime;
	Real m_CurrentSpeed;
};

#endif //__SCENEINBEDHAUT_H__
